<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title>${requestScope.PageTitle}</title>
		<style type="text/css">
			.FieldErrorMsg {
				color: red;
			}
		</style>
	</head>
	<body>
		<%@ include file="HeaderAdmin.jsp" %>
		<center>
			<form action="RankDetail${requestScope.ActionTargetTail}" method="post">
				<table border='0' cellpadding='5' cellspacing='5'>
					<tr align='left'>
						<td colspan='3'><b>${requestScope.PageTitle}</b></td>
					</tr>
					<tr align='left'>
						<td>Rank Name:</td>
						<td>
							<input type="text" name="RankName" value="${requestScope.LastRankName}" />
						</td>
						<td>
							<div class="FieldErrorMsg">
								${requestScope.RankNameErrorMsg}
							</div>
						</td>
					</tr>
					<tr align='left'>
						<td>Total Annual Leave:</td>
						<td>
							<input type="text" name="TotalDays" value="${requestScope.LastTotalDays}" />
						</td>
						<td>
							<div class="FieldErrorMsg">
								${requestScope.TotalDaysErrorMsg}
							</div>
						</td>
					</tr>
					<tr align='left'>
						<td></td>
						<td>
							<button type="submit">Submit</button>
					</td>
					<td>
						<div style="width: 250px;">
							<!-- Hidden Field to differentiate first load from submission -->
							<input type="hidden" name="IsSubmit" value="true">
						</div>
					</td>
				</tr>
			</table>
		</form>
		</center>
	</body>
</html>